﻿using System;
using Storm.TextEditor;
using Storm.TextEditor.Editor.CodeCompletion;
using Moonlite.ExtensionApi.ControlInterfaces;
using Moonlite.ExtensionApi.GlobalInterfaces;

namespace Moonlite.ExtensionApi.ControlInterfaces
{
    public interface ITextEditor
    {
        TextEditor InnerTextEditor { get; }
        bool Saved { get; }
        IProjectFile File { get; set;  }
        ICompletionDataProvider CompletionDataProvider { get; }
        void Open(string filePath, IProjectFile file);
        void UpdateAllowJassCodeCompletionVisible(char inputKey);
        void UpdateFileName();
        void Update();
        void Close();
    }
}
